﻿namespace Org.Flowertwig.Media.Information.Services
{
    public class Service
    {
        public string Id { get; set; }
        public string Name { get; set; }
        /// <summary>
        /// Used to call service when attribute 'RequireProcessBeforePlay' is true.
        /// For example: c:\LocalIndexingService\LocalService.exe /play /target:d:\testing\honda.hornet.2011.avi /cache:c:\unpack\
        /// This will trigger output that main app know how to handle.
        /// </summary>
        public string ApplicationPathAndName { get; set; } 

        public Service Clone()
        {
            return new Service
                       {
                           Id = Id,
                           Name =  Name,
                           ApplicationPathAndName = ApplicationPathAndName
                       };
        }
    }
}
